#include "TurretJoy.h"
#include "../CommandBase.h"
#include "../Subsystems/turret.h"

TurretJoy::TurretJoy() 
{
	Requires(turret);
	SetTimeout(0.5);
	printf("dddd::DriveJoy\n");
}
void TurretJoy::Initialize()
{
	
}
void TurretJoy::Execute()
{
	printf("Turret exec.\n");
	CommandBase::turret->turretJoystick(oi->getJoystick());
}
bool TurretJoy::IsFinished()
{
	return 0;
}
void TurretJoy::End()
{
	
}
void TurretJoy::Interrupted()
{
	
}
